package com.har.modules.web.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

/**
 * 企业注册
 * 
 * @author maorui
 * @email 
 * @date 2018-07-18 15:28:24
 */
@TableName("t_company")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CompanyEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键Id
	 */
	@TableId
	private Long id;
	/**
	 * 企业账号
	 */
	private String userName;
	/**
	 * 登录密码
	 */
	private String password;
	/**
	 * 企业全称
	 */
	private String companyName;
	/**
	 * 营业执照号
	 */
	private String businessLicenseNo;
	/**
	 * 手机号码
	 */
	private String mobile;
	/**
	 * 用户状态(1  正常用户  2 禁止登录)
	 */
	private Integer status;
	/**
	 * 企业地址
	 */
	private String companyAddress;
	/**
	 * 企业联系人
	 */
	private String legalPerson;
	/**
	 *
	 */
	private Date createTime;
	/**
	 *
	 */
	private Date updateTime;
	/**
	 * 微信open_id
	 */
	private String openId;
	/**
	 * 微信昵称
	 */
	private String nickName;
	/**
	 * 设置：主键Id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键Id
	 */
	public Long getId() {
		return id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * 设置：登录密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 获取：登录密码
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置：真实姓名
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	/**
	 * 获取：真实姓名
	 */
	public String getCompanyName() {
		return companyName;
	}
	/**
	 * 设置：身份证号码
	 */
	public void setBusinessLicenseNo(String businessLicenseNo) {
		this.businessLicenseNo = businessLicenseNo;
	}
	/**
	 * 获取：身份证号码
	 */
	public String getBusinessLicenseNo() {
		return businessLicenseNo;
	}
	/**
	 * 设置：手机号码
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：手机号码
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：用户状态(1  正常用户  2 禁止登录)
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：用户状态(1  正常用户  2 禁止登录)
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：
	 */
	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}
	/**
	 * 获取：
	 */
	public String getCompanyAddress() {
		return companyAddress;
	}
	/**
	 * 设置：
	 */
	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}
	/**
	 * 获取：
	 */
	public String getLegalPerson() {
		return legalPerson;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
}
